(:*******************************************************:)
(: Test: K2-MatchesFunc-17                               :)
(: Written by: Frans Englich                             :)
(: Date: 2007-11-22T11:31:21+01:00                       :)
(: Purpose: Caseless match with back-reference.          :)
(:*******************************************************:)
matches('aA', '(a)\1', 'i')